
{[include file="mold/mold/_view.tpl"]}

<fieldset><legend>生产信息</legend>
<form id="form_edit"><input type="hidden" name="id" value="{[$smarty.request.id]}" />
<table>
	<tr>
		<td width="20%" align="right">工件：</td>
		<td width="30%">{[$result.piece]}</td>
		<td width="20%" align="right">负责人：</td>
		<td width="30%">{[$plan.emp_t]}</td>
	</tr>
	<tr>
		<td align="right">工艺：</td>
		<td>{[$result.technics]}</td>
		<td align="right">状态：</td>
		<td>{[$result.status_t]}</td>
	</tr>
	{[foreach name=outer key=key item=item from=$file]} {[assign var="no" value="`$key+$pager->from+1`"]} {[if
	$smarty.foreach.outer.first]}
	<tr>
		<td align="right">附件：</td>
		<td>{[/if]} {[$no]}、<a href="{[$item.file]}" style="color: blue" target="_blank">{[$item.name]}</a><br />
		{[if $smarty.foreach.outer.last]}</td>
	</tr>
	{[/if]} {[/foreach]}
	<tr>
		<td align="right">工作内容：</td>
		<td colspan="3"><textarea rows="3" name="content" cols="55">{[$result.content]}</textarea></td>
	</tr>
	<tr>
		<td align="right">实际日期：</td>
		<td colspan="3"><input type="text" name="t1" id="t1" value="{[$result.t1]}" size="12"> 至 <input type="text" name="t2"
			id="t2" value="{[$result.t2]}" size="12"></td>
	</tr>
	<tr>
		<td align="right">实际工时：</td>
		<td colspan="3"><select name='hour'>
			{[html_options options=$hour_option selected=$result.hour]}
		</select> <select name='minute'>
			{[html_options options=$minute_option selected=$result.minute]}
		</select></td>
	</tr>
</table>
</form>
</fieldset>

<script type="text/javascript" src="js/mold/produce/edit.js?r={[$smarty.now]}"></script>